Skip to content

Conversation

gouweisui
Copy link

7.0Socket源码修改了close方法(源码注释:Once a socket has been closed, it is not available for further networking use (i.e. can't be reconnected or rebound). A new socket needs to be created.) 所以框架原有断开重连的方法就不能生效 需要重新new Socket 但是原有方法这里传入新的socket会抛出异常 所以这里改成isClosed来判断

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant